home *** CD-ROM | disk | FTP | other *** search
/ Leonardo the Inventor / Leonardo The Inventor (93026)(Broderbund)(Riverdeep)(2004).iso / LEOWINMV / SHARED.DIR / 03149_Script_monitorDepth < prev    next >
Text File  |  1996-04-01  |  356b  |  17 lines

  1. on storeMonitorDepth
  2.   global monitorDepthAtStart
  3.   set monitorDepthAtStart = the colorDepth
  4. end
  5.  
  6. on force256Colors
  7.   if NOT(the machinetype = 256) then
  8.     set the colorDepth = 8
  9.   end if
  10. end
  11.  
  12. on restoreMonitorDepth
  13.   global monitorDepthAtStart
  14.   if NOT(the machinetype = 256) then
  15.     set the colorDepth = monitorDepthAtStart
  16.   end if
  17. end